package com.tyk.bookstore.back.payment.manager.excel.config;

import com.tyk.bookstore.back.common.core.excel.ExcelManager;
import com.tyk.bookstore.back.payment.manager.excel.model.AmountLogExcelVo;
import com.tyk.bookstore.back.payment.manager.excel.model.PaymentRecordExcelVo;
import com.tyk.bookstore.back.payment.manager.excel.model.ShopStatementExcelVo;
import lombok.RequiredArgsConstructor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author tyk
 * @description PaymentExcelConfig
 */
@Configuration
@RequiredArgsConstructor
public class PaymentExcelConfig {

    @Bean
    public ExcelManager<AmountLogExcelVo> amountLogExcelManager() {
        return new ExcelManager<>() {
        };
    }

    @Bean
    public ExcelManager<PaymentRecordExcelVo> paymentRecordExcelManager() {
        return new ExcelManager<>() {
        };
    }

    @Bean
    public ExcelManager<ShopStatementExcelVo> shopStatementExcelManager() {
        return new ExcelManager<>() {
        };
    }
}
